package com.xiaoxx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaoxx.mapper.BinanceApikeyMapper;
import com.xiaoxx.model.entity.coin.BinanceApikey;
import com.xiaoxx.service.BinanceApikeyService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author HX
 * @since 2024-11-29
 */
@Service
public class BinanceApikeyServiceImpl extends ServiceImpl<BinanceApikeyMapper, BinanceApikey> implements BinanceApikeyService {

    @Override
    public List<BinanceApikey> getAllList() {
       return lambdaQuery().eq(BinanceApikey::getStatus, 1).list();
    }
}
